package com.ks.service;

import com.ks.common.PageResult;
import com.ks.dto.PageQueryDTO;
import com.ks.entity.MetricData;
import com.ks.vo.RequestVO;
import com.ks.vo.WarnRecordVO;

import java.util.List;

public interface WarnRecordService {
    void currentCalculate(List<MetricData> metricDataList);

    void scheduledCalculate();

    PageResult pageWarnRecord(PageQueryDTO pageQueryDTO);

    void readWarnRecord(Long id);

    List<WarnRecordVO> queryAlertByTime(RequestVO requestVO);
}
